import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'

export default defineConfig({
  server:{
    host:'localhost',
    port: 9081,
    proxy: {
      '/api': 'http://api-driver.marsview.cc'
    }
  },
  resolve:{
    alias:{
      '@':path.resolve(__dirname,'src')
    }
  },
  plugins: [react()],
})
